//---------------------------------------------------------------------------
#ifndef CCommon_BufferedStreamH
#define CCommon_BufferedStreamH
//---------------------------------------------------------------------------
#include <iostream>
//---------------------------------------------------------------------------
// CBufferedStream
//---------------------------------------------------------------------------
#define MAX_STREAM_BUF_SIZE 40960
//---------------------------------------------------------------------------
// CBlockStream
//---------------------------------------------------------------------------
#define MAX_BUF_SIZE 40960
//---------------------------------------------------------------------------
using namespace std;
//---------------------------------------------------------------------------
template <class T>
inline void print_elements(const T& coll, const char* optcstr="")
{
    typename T::const_iterator pos;

    cout << optcstr << endl;
	cout << "-------------------------------------------------" << endl;
    for (pos=coll.begin(); pos!=coll.end(); ++pos) {
        cout << *pos << ' ' << endl;
    }
	cout << "-------------------------------------------------" << endl;
    cout << endl;
}
//---------------------------------------------------------------------------
#endif
